package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class Grantee {

    private int beginIndex;
    private int endIndex;
    private boolean public_;
    private Identifier authorizationIdentifier;

    public Grantee(int beginIndex,
                   int endIndex,
                   boolean public_,
                   Identifier authorizationIdentifier) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.public_ = public_;
        this.authorizationIdentifier = authorizationIdentifier;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isPublic() {
        return public_;
    }

    public Identifier getAuthorizationIdentifier() {
        return authorizationIdentifier;
    }

}
